﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<TanHungViet.Web.Models.Content>" %>
<%@ Import Namespace="System.Globalization" %>
<%@ Import Namespace="TanHungViet.Helper"%>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<%=ViewData["PageTitle"]%> - TÂN HƯNG VIỆT - HOTLINE: 0835.125.795
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <% CultureInfo ci = new CultureInfo(Session["CultureInfo"].ToString());%>

    <div class="title-mainright">
	    <h2 class="text1"><%=Model.ContentTitle %></h2>
    </div>
	<div class="content">
		<div class="top-box2"><img src='<%=Url.Content("~/Content/images/top-box2.jpg")%>'/> </div>		
			<div class="center-box2">
			    <div style="padding:0px 10px 10px 10px;">
			        <h2 style="color:#d50000;"><a href="#"> <%=ResourceUtil.Instance.GetString("CauHoi", ci)%>
			            <img src='<%=Url.Content("~/Content/images/hoidap.jpg")%>' alt="" width="20px"/></a>
			        </h2>
			        
			        <p style="color:red"><img src="/Content/images/icon-date.png" width="16px">
			            <%= Model.PublishDate == null ? DateTime.Now.ToString("dd/MM/yyyy", new CultureInfo("vi-Vn"))
			                : Model.PublishDate.Value.ToString("dd/MM/yyyy", new CultureInfo("vi-Vn"))%>
			        </p>
			        
			        <%=Model.BriefDescrip %>
			        
			        <h2 style="color:#d50000;"><a href="#">
			            <%=ResourceUtil.Instance.GetString("CauTraLoi", ci)%> 
			            <img src='<%=Url.Content("~/Content/images/iconTuVan.png")%>' alt="" width="20px"/></a>
			        </h2>
			        
			        <%=Model.ContentDetail %>
			        
			        <p><img src='<%=Url.Content("~/Content/images/topic_iconsmall.png")%>' alt=""/> 
			            <%=ResourceUtil.Instance.GetString("ChuyenMuc", ci)%> : 
			            <a href="<%=Url.Action("HoiDap", new { code = ViewData["ParentCode"] })%>"><%=ViewData["ParentTitle"] %></a>
			        </p>
			    </div>
			</div>            	
	</div> 

</asp:Content>
